/******************************************************************************
/
/  Authors:
/           Ilan   Bar Magen 
/    		Shalev Mintz      066078189  shalevmi@t2  
/
/  Submition date: 9/7/2008
/
/  This file contains:
/
/
/*****************************************************************************/


#ifndef SKIPNODE_H
#define SKIPNODE_H

#include<cstdlib>  // for NULL
#include<iostream>

using namespace std;

template <class DataType, class KeyType>
class Skip_Node
{
	public:
		DataType *data_ptr;
		KeyType key;
		// more information??
		Skip_Node *right;
		Skip_Node *down;
		Skip_Node(const DataType& theData, KeyType theKey = KeyType(), 
			      Skip_Node* _right = NULL, Skip_Node* _down = NULL):
		data_ptr(&theData), key(theKey), right(_right), down(_down){}

}







#endif